class CommentModeration < ActiveRecord::Migration
  def self.up
     add_column :settings, :comment_moderation, :integer, :null => false,:default =>'0'
		 add_column :comments,:published, :integer, :null => false,:default =>'0'
		 add_column :comments,:reviewed, :integer, :null => false,:default =>'0'
  end

  def self.down
     remove_column :settings, :comment_moderation
		 remove_column :comments,:published
		 remove_column :comments,:reviewed
  end
end
